package com.server.model.all.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.experimental.FieldNameConstants;

@Getter
@AllArgsConstructor
@FieldNameConstants
public enum YesNoEnum implements BaseEnum{
    YES(1, "yes"),
    NO(0, "no"),
    ;

    private final Integer code;

    private final String name;
}
